//
//  LZLoginRegisterTextField.m
//  百思不得姐
//
//  Created by 郝庆 on 16/5/13.
//  Copyright © 2016年 haoqing. All rights reserved.
//

#import "LZLoginRegisterTextField.h"

@implementation LZLoginRegisterTextField

- (void)awakeFromNib
{
    // 光标颜色
    self.tintColor = [UIColor whiteColor];
    
    // 设置占位文字颜色
    self.lz_placeholderColor = [UIColor grayColor];
}

/**
 *  开始编辑
 */
- (BOOL)becomeFirstResponder
{
    self.lz_placeholderColor = [UIColor whiteColor];
    return [super becomeFirstResponder];
}

/**
 *  结束编辑
 */
- (BOOL)resignFirstResponder
{
    self.lz_placeholderColor = [UIColor grayColor];
    return [super resignFirstResponder];
}

@end
